<div class="section">
	<include file="Admin/Public/header" />
	<div class="system-form top-margin-20">
	<div class="panel panel-default">
  	<div class="panel-body">
		<form class="form-horizontal" action="<{$act_url}>" method="post" role="form">
			<input type="hidden" name="id" value="<{$data.id}>" />
			<div class="form-group">
			    <label for="article-title" class="col-sm-2 control-label"><span class="form-start">*</span>文章标题：</label>
			    <div class="col-sm-10">
			      <input type="text" class="form-control" name="article-title" placeholder="请填写文章标题" required value="<{$data.title}>">
			</div>
			</div>

			<div class="form-group">
			    <label for="article-desc" class="col-sm-2 control-label">摘要：</label>
			    <div class="col-sm-10">
			    <textarea name="article-desc" class="form-control text-area" rows="3" maxlength="140" placeholder="请填写文章摘要"><{$data.description}></textarea>
			</div>
			</div>
			<div class="form-group">
			    <label for="article-actid" class="col-sm-2 control-label">文章分类：</label>
			    <div class="col-sm-6">
			    <select class="form-control" name="article-actid">
			    	<volist name="catlist" id="vo">
			    		<option value="<{$vo.cid}>" <if condition="$vo['cid'] eq $data['cid']">selected</if>><{$vo.cname}></option>
			    		<if condition="$vo['child']">
				    		<volist name="vo['child']" id="sub" >
				    			<option value="<{$sub.cid}>" <if condition="$sub['cid'] eq $data['cid']">selected</if>>&nbsp;&nbsp;<{$sub.cname}></option>
				    		</volist>
			    		</if>
			    	</volist>
			  </select>
			</div>
			</div>
			<div class="form-group">
			    <label for="article-face" class="col-sm-2 control-label">封面图片：</label>
			    <div class="col-sm-6">
			    <include file="Component@Public/inputupload" type="" />
			</div>
			</div>
			<div class="form-group">
			    <label for="article-tags" class="col-sm-2 control-label">文章标签：</label>
			    <div class="col-sm-10">
			   <input type="text" class="form-control" name="tags" value="<{$data.tags}>" placeholder="标签之间使用英文逗号分开" />
			</div>
			</div>
			<div class="form-group">
			    <label for="article-source" class="col-sm-2 control-label">文章来源：</label>
			    <div class="col-sm-10">
			   <input type="text" class="form-control" name="source" value="<{$data.source}>" placeholder="文章来源" />
			</div>
			</div>
			<div class="form-group">
			    <label for="article-sourl" class="col-sm-2 control-label">原文链接：</label>
			    <div class="col-sm-10">
			   <input type="text" class="form-control" name="sourl" value="<{$data.sourl}>" placeholder="原文链接" />
			</div>
			</div>
			<div class="form-group">
			    <label for="article-con" class="col-sm-2 control-label">文章内容：</label>
			    <div class="col-sm-10">
			   <{$ueditor}>
			</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2">&nbsp;</div>
				<div class="checkbox">
				  <label>
				    <input type="checkbox" value="1" name="is_comment" <if condition="$data.is_comment eq 1">checked</if>>
				    允许评论
				  </label>
				</div>
			</div>
			<div class="form-group col-sm-8 pull-right">
			<div class="col-sm-6">
				<button type="submit" name="is_publish" value="2" class="btn btn-success">保存草稿</button>
			</div>
			<div class="col-sm-6">
				<button type="submit" class="btn btn-success">发布</button>
			</div>	
			
			</div>
			
		</form>
	</div>
</div>
</div>
</div>
